package DBLayer;

import org.junit.Test;

import java.sql.Connection;

import static org.junit.Assert.fail;

/**
 * Created with IntelliJ IDEA.
 * User: bjarke
 * Date: 12/18/12
 * Time: 12:27 PM
 * To change this template use File | Settings | File Templates.
 */
public class DbConnection1Test {
    @Test
    public void testGetInstance() throws Exception {
            Connection con = DbConnection1.getInstance().getDBcon();
            if (con != null){
                System.out.println("Connection succes!!");
            }
            else{
                fail("Not yet implemented");
            }
    }

}
